home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / revtex / osa12.sty < prev    next >
Text File  |  1992-11-09  |  15KB  |  464 lines

  1. %%% ======================================================================
  2. %%%  @LaTeX-style-file{
  3. %%%     filename        = "osa12.sty",
  4. %%%     version         = "3.0",
  5. %%%     date            = "November 10, 1992",
  6. %%%     ISO-date        = "1992.11.10",
  7. %%%     time            = "15:41:54.18 EST",
  8. %%%     author          = "Optical Society of America",
  9. %%%     contact         = "Frank E. Harris",
  10. %%%     address         = "Optical Society of America
  11. %%%                        2010 Massachusetts Ave., N.W.
  12. %%%                        Washington, D.C.  20036-1023",
  13. %%%     email           = "fharris@pinet.aip.org (Internet)",
  14. %%%     telephone       = "(202) 416-1903",
  15. %%%     FAX             = "(202) 416-6120",
  16. %%%     supported       = "yes",
  17. %%%     archived        = "pinet.aip.org/pub/revtex,
  18. %%%                        Niord.SHSU.edu:[FILESERV.REVTEX]",
  19. %%%     keywords        = "REVTeX, version 3.0, style file, Optical
  20. %%%                        Society of America",
  21. %%%     codetable       = "ISO/ASCII",
  22. %%%     checksum        = "60140 463 922 15065",
  23. %%%     docstring       = "This is a fonts and format style file for OSA
  24. %%%                        journals under REVTeX 3.0.
  25. %%%
  26. %%%                        The checksum field above contains a CRC-16
  27. %%%                        checksum as the first value, followed by the
  28. %%%                        equivalent of the standard UNIX wc (word
  29. %%%                        count) utility output of lines, words, and
  30. %%%                        characters.  This is produced by Robert
  31. %%%                        Solovay's checksum utility."
  32. %%% }
  33. %%% ======================================================================
  34. % ******* Start of file osa12.sty *******
  35. %
  36. % Copyright (c) 1992, Optical Society of America.
  37. %
  38. %   This is one of the files of the release version of the OSA macros for
  39. % REVTEX 3.0. REVTEX 3.0 is being developed by cooperation between the AAS,
  40. % AGU, AIP, APS, and OSA.
  41. %
  42. %
  43. % Support is available weekdays, 8:45 am--4:30 pm, East coast(USA) time.
  44. %
  45. %     Frank Harris
  46. %     Optical Society of America
  47. %     2010 Massachusetts Ave. N.W.
  48. %     Washington D.C. 20036-1023
  49. %     (202) 416-1903 (phone)
  50. %     (202) 416-6120 (fax)
  51. %     fharris@aip.org (Internet)
  52. %
  53. %
  54. %
  55.  
  56. \typeout{Filename: osa12.sty, v1.0 <November 20, 1992>}
  57.  
  58. \lineskip 1pt
  59. \normallineskip 1pt
  60.  
  61. \edef\baselinestretch{\if@tightenlines1\else1.655\fi}
  62.  
  63. \def\@normalsize{\@setsize\normalsize{14.5pt}\xiipt\@xiipt
  64. \abovedisplayskip 12\p@ plus3\p@ minus7\p@
  65. \belowdisplayskip \abovedisplayskip
  66. \abovedisplayshortskip  \z@ plus3\p@
  67. \belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
  68. \let\@listi\@listI}
  69.  
  70. \def\small{\@setsize\small{14.5pt}\xipt\@xipt
  71. \abovedisplayskip 11\p@ plus3\p@ minus6\p@
  72. \belowdisplayskip \abovedisplayskip
  73. \abovedisplayshortskip  \z@ plus3\p@
  74. \belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
  75. \def\@listi{\leftmargin\leftmargini
  76.  \parsep 4.5\p@ plus2\p@ minus\p@ \itemsep \parsep
  77.             \topsep 9\p@ plus3\p@ minus5\p@}}
  78.  
  79. \def\footnotesize{\@setsize\footnotesize{14.5pt}\xpt\@xpt
  80. \abovedisplayskip 10\p@ plus2\p@ minus5\p@
  81. \belowdisplayskip \abovedisplayskip
  82. \abovedisplayshortskip  \z@ plus3\p@
  83. \belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
  84. \def\@listi{\leftmargin\leftmargini
  85. \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
  86. \itemsep \parsep}}
  87.  
  88. \def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
  89. \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
  90. \def\large{\@setsize\large{18pt}\xivpt\@xivpt}
  91. \def\Large{\@setsize\Large{22pt}\xviipt\@xviipt}
  92. \def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt}
  93. \def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
  94. \let\Huge=\huge
  95.  
  96. \normalsize
  97.  
  98. \if@twoside
  99.    \oddsidemargin .25in
  100.    \evensidemargin -.25in
  101.    \marginparwidth 60pt
  102. \else
  103.    \oddsidemargin 0pt
  104.    \evensidemargin 0pt
  105.    \marginparwidth 44pt
  106. \fi
  107. \marginparsep 10pt
  108.  
  109. \topmargin -37pt
  110.  
  111. \headheight 12pt
  112. \headsep 25pt
  113.  
  114. \footskip 30pt
  115.  
  116. \if@tightenlines
  117.   \textheight = 44\baselineskip
  118. \else
  119.   \textheight = 27\baselineskip
  120. \fi
  121. \advance\textheight by \topskip
  122. \textwidth 468pt
  123. \displaywidth\textwidth
  124. \linewidth\textwidth
  125.  
  126. \let\narrowtext=\relax
  127. \let\mediumtext=\relax
  128. \let\widetext=\relax
  129.  
  130. \columnsep 10pt
  131. \columnseprule 0pt
  132.  
  133. \footnotesep 2pc
  134. \skip\footins 25.25pt plus 4pt minus 2pt
  135. \def\footnoterule{\kern-5.25pt\hrule width.5in\kern4.85pt}
  136.  
  137. \floatsep 14pt plus 2pt minus 4pt
  138.  
  139. \textfloatsep 20pt plus 2pt minus 4pt
  140.  
  141. \intextsep 14pt plus 4pt minus 4pt
  142.  
  143. \@maxsep 20pt
  144.  
  145. \dblfloatsep 14pt plus 2pt minus 4pt
  146.  
  147. \dbltextfloatsep 20pt plus 2pt minus 4pt
  148.  
  149. \@dblmaxsep 20pt
  150.  
  151. \@fptop 0pt plus 1fil
  152.  
  153. \@fpsep 10pt plus 2fil
  154. \@fpbot 0pt plus 1fil
  155.  
  156. \@dblfptop 0pt plus 1fil
  157.  
  158. \@dblfpsep 10pt plus 2fil%
  159. \@dblfpbot 0pt plus 1fil
  160.  
  161. \marginparpush 7pt
  162.  
  163. \parskip 0pt plus 1pt
  164.  
  165. \parindent 1.5em
  166.  
  167. \partopsep 3pt plus 2pt minus 2pt
  168.  
  169. \@lowpenalty   51
  170. \@medpenalty  151
  171. \@highpenalty 301
  172.  
  173. \@beginparpenalty -\@lowpenalty
  174.  
  175. \@endparpenalty   -\@lowpenalty
  176.  
  177. \@itempenalty     -\@lowpenalty
  178.  
  179. \newif\if@mainhead
  180.  
  181. \def\section{\@mainheadtrue   %
  182.   \@startsection {section}{1}{\z@}{-0.8cm plus1ex minus
  183.  .2ex}{0.5cm plus1ex minus.2ex}{\reset@font\small\bf\noindent}}
  184. \def\subsection{\@mainheadfalse
  185.   \@startsection{subsection}{2}{\z@}{-0.8cm plus1ex minus
  186.  .2ex}{0.5cm plus1ex minus.2ex}{\reset@font\small\bf\noindent}}
  187. \def\subsubsection{\@mainheadfalse
  188. \@startsection{subsubsection}{3}{\z@}{-.8cm plus1ex minus
  189.  .2ex}{0.5cm plus1ex minus.2ex}{\reset@font\small\it\noindent}}
  190. \def\paragraph{\@mainheadfalse
  191.   \@startsection{paragraph}{4}{\parindent}{\z@}{-1em}{\reset@font
  192.      \normalsize\it}}
  193. \def\subparagraph{\@mainheadfalse
  194. \@startsection{subparagraph}{4}{\parindent}{3.25ex plus1ex minus
  195.      .2ex}{-1em}{\reset@font\normalsize\bf}}
  196.  
  197. \setcounter{secnumdepth}{4}
  198.  
  199. \newif\ifappendixon \global\appendixonfalse
  200. \def\appendix{\par\global\appendixontrue
  201.   \setcounter{section}{0}
  202.   \setcounter{subsection}{0}
  203.   \setcounter{subsubsection}{0}
  204.   \def\thesection{\Alph{section}}
  205.   \def\thesubsection{\arabic{subsection}}
  206.   \def\thesubsubsection{\alph{subsubsection}}
  207.   \def\theequation@prefix{\thesection}
  208.   \@addtoreset{equation}{section}
  209.   \addcontentsline{toc}{section}{\protect\numberline{APPENDIXES\hskip
  210.       0pt plus1fill minus1fill\relax}}
  211.   }
  212.  
  213. \leftmargini 2.5em
  214. \leftmarginii 2.2em
  215. \leftmarginiii 1.87em
  216. \leftmarginiv 1.7em
  217. \leftmarginv 1em
  218. \leftmarginvi 1em
  219.  
  220. \leftmargin\leftmargini
  221. \labelsep .5em
  222. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  223.  
  224. \def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
  225. \topsep 10\p@ plus4\p@ minus6\p@
  226. \itemsep 5\p@ plus2.5\p@ minus\p@}
  227.  
  228. \let\@listi\@listI
  229. \@listi
  230.  
  231. \def\@listii{\leftmargin\leftmarginii
  232.    \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  233.    \topsep 5\p@ plus2.5\p@ minus\p@
  234.    \parsep 2.5\p@ plus\p@ minus\p@
  235.    \itemsep \parsep}
  236.  
  237. \def\@listiii{\leftmargin\leftmarginiii
  238.     \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  239.     \topsep 2.5\p@ plus\p@ minus\p@
  240.     \parsep \z@ \partopsep \p@ plus\z@ minus\p@
  241.     \itemsep \topsep}
  242.  
  243. \def\@listiv{\leftmargin\leftmarginiv
  244.      \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  245.  
  246. \def\@listv{\leftmargin\leftmarginv
  247.      \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  248.  
  249. \def\@listvi{\leftmargin\leftmarginvi
  250.      \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  251.  
  252. \if@amssymbols %
  253.   \def\@tempa{%
  254.     \@ifundefined{selectfont}%
  255.       {}%
  256.       {\input{amssymb.sty}
  257.        \new@fontshape{euf}{b}{n}{%
  258.           <5>eufb5%
  259.           <6>eufb6%
  260.           <7>eufb7%
  261.           <8>eufb8%
  262.           <9>eufb9%
  263.           <10>eufb10%
  264.           <11>eufb10 at10.95pt%
  265.           <12>eufb10 at12pt%
  266.           <14>eufb10 at14.4pt%
  267.           <17>eufb10 at17.28pt%
  268.           <20>eufb10 at20.74pt%
  269.           <25>eufb10 at24.88pt}{}
  270.        \edef\@tempa{\hexnumber@\msa@group}
  271.        \mathchardef\dabar@="0\@tempa39
  272.        \endinput}%
  273.   }
  274. \else         %
  275.   \if@amsfonts  %
  276.     \def\@tempa{%
  277.       \@ifundefined{selectfont}%
  278.         {}%
  279.         {\input{amsfonts.sty}
  280.          \new@fontshape{euf}{b}{n}{%
  281.             <5>eufb5%
  282.             <6>eufb6%
  283.             <7>eufb7%
  284.             <8>eufb8%
  285.             <9>eufb9%
  286.             <10>eufb10%
  287.             <11>eufb10 at10.95pt%
  288.             <12>eufb10 at12pt%
  289.             <14>eufb10 at14.4pt%
  290.             <17>eufb10 at17.28pt%
  291.             <20>eufb10 at20.74pt%
  292.             <25>eufb10 at24.88pt}{}
  293.          \edef\@tempa{\hexnumber@\msa@group}
  294.          \mathchardef\dabar@="0\@tempa39
  295.          \endinput}%
  296.     }
  297.   \else
  298.     \let\@tempa\endinput
  299.   \fi
  300. \fi
  301. \@tempa
  302.  
  303. \def\frak{\protect\pfrak} \def\Bbb{\protect\pBbb}
  304.  
  305. \newfam\msamfam
  306. \font\frtnmsam=msam10\@magscale2 \font\twlmsam=msam10\@magscale1
  307. \font\elvmsam=msam10\@halfmag \font\egtmsam=msam8 \font\sixmsam=msam6
  308.  
  309. \newfam\msbmfam
  310. \font\frtnmsbm=msbm10\@magscale2 \font\twlmsbm=msbm10\@magscale1
  311. \font\elvmsbm=msbm10\@halfmag \font\egtmsbm=msbm8 \font\sixmsbm=msbm6
  312.  
  313. \newfam\euffam
  314. \font\frtneufm=eufm10\@magscale2 \font\twleufm=eufm10\@magscale1
  315. \font\elveufm=eufm10\@halfmag \font\egteufm=eufm8 \font\sixeufm=eufm6
  316.  
  317. \def\fontextras#1#2#3{%
  318.   \def\pfrak{\fam\euffam\elveufm}\textfont\euffam\elveufm
  319.     \scriptfont\euffam\egteufm \scriptscriptfont\euffam\sixeufm
  320.   \textfont\msamfam\elvmsam \scriptfont\msamfam\egtmsam
  321.     \scriptscriptfont\msamfam\sixmsam
  322.   \def\pBbb{\fam\msbmfam\elvmsbm}\textfont\msbmfam\elvmsbm
  323.     \scriptfont\msbmfam\egtmsbm \scriptscriptfont\msbmfam\sixmsbm
  324.   \def\boldmath{\@ifundefined{#1elvmib}%
  325.     {\expandafter\global\expandafter\def\csname#1elvmib\endcsname{}%
  326.      \global\font\elvmib=cmmib10\@halfmag\global\font\egtmib=cmmib8\global
  327.        \font\sixmib=cmmib6%
  328.      \global\font\elvbsy=cmbsy10\@halfmag\global\font\egtbsy=cmbsy8\global
  329.        \font\sixbsy=cmbsy6%
  330.      \global\font\elveufb=eufb10\@halfmag\global\font\egteufb=eufb8\global
  331.        \font\sixeufb=eufb6\global\font#2=#3\relax
  332.      \expandafter\@addfontinfo\csname#1\endcsname
  333.        {\def\boldmath{\@prtct\@nomathbold
  334.        \everymath{\mit}\everydisplay{\mit}%
  335.        \textfont\@ne\elvmib \scriptfont\@ne\egtmib \scriptscriptfont\@ne\sixmib
  336.        \textfont\tw@\elvbsy \scriptfont\tw@\egtbsy \scriptscriptfont\tw@\sixbsy
  337.        \textfont\euffam\elveufb \scriptfont\euffam\egteufb
  338.          \scriptscriptfont\euffam\sixeufb
  339.        \textfont\lyfam#2\relax
  340.        \@prtct\@boldtrue}%
  341.        }% end of \@addfontinfo
  342.     }% end of \@ifundefined true stuff
  343.     {}\csname#1\endcsname\boldmath
  344.   }%
  345. }
  346.  
  347. \expandafter\def\expandafter\xpt\expandafter{\xpt%
  348.   \fontextras{@xpt}\tenlyb{lasyb10}%
  349. }
  350.  
  351. \expandafter\def\expandafter\xipt\expandafter{\xipt%
  352.   \fontextras{@xipt}\elvlyb{lasyb10\@halfmag}%
  353. }
  354.  
  355. \expandafter\def\expandafter\xiipt\expandafter{\xiipt%
  356.   \def\pfrak{\fam\euffam\twleufm}\textfont\euffam\twleufm
  357.     \scriptfont\euffam\egteufm \scriptscriptfont\euffam\sixeufm
  358.   \textfont\msamfam\twlmsam \scriptfont\msamfam\egtmsam
  359.     \scriptscriptfont\msamfam\sixmsam
  360.   \def\pBbb{\fam\msbmfam\twlmsbm}\textfont\msbmfam\twlmsbm
  361.     \scriptfont\msbmfam\egtmsbm \scriptscriptfont\msbmfam\sixmsbm
  362.   \def\boldmath{\@ifundefined{twlmib}%
  363.     {\global\font\twlmib=cmmib10\@magscale1\global\font\egtmib=cmmib8\global
  364.        \font\sixmib=cmmib6%
  365.      \global\font\twlbsy=cmbsy10\@magscale1\global\font\egtbsy=cmbsy8\global
  366.        \font\sixbsy=cmbsy6%
  367.      \global\font\twleufb=eufb10\@magscale1\global\font\egteufb=eufb8\global
  368.        \font\sixeufb=eufb6
  369.      \global\font\twllyb=lasyb10\@magscale1\relax
  370.      \@addfontinfo\@xiipt{\def\boldmath{\@prtct\@nomathbold
  371.        \everymath{\mit}\everydisplay{\mit}%
  372.        \textfont\@ne\twlmib \scriptfont\@ne\egtmib \scriptscriptfont\@ne\sixmib
  373.        \textfont\tw@\twlbsy \scriptfont\tw@\egtbsy \scriptscriptfont\tw@\sixbsy
  374.        \textfont\euffam\twleufb \scriptfont\euffam\egteufb
  375.          \scriptscriptfont\euffam\sixeufb
  376.        \textfont\lyfam\twllyb
  377.        \@prtct\@boldtrue}%
  378.      }%
  379.     }%
  380.     {}\@xiipt\boldmath
  381.   }%
  382. }
  383.  
  384. \expandafter\def\expandafter\xivpt\expandafter{\xivpt%
  385.  \def\pfrak{\fam\euffam\frtneufm}\textfont\euffam\frtneufm
  386.    \scriptfont\euffam\elveufm \scriptscriptfont\euffam\egteufm
  387.  \textfont\msamfam\frtnmsam \scriptfont\msamfam\elvmsam
  388.    \scriptscriptfont\msamfam\egtmsam
  389.  \def\pBbb{\fam\msbmfam\frtnmsbm}\textfont\msbmfam\frtnmsbm
  390.    \scriptfont\msbmfam\elvmsbm \scriptscriptfont\msbmfam\egtmsbm
  391.  \def\boldmath{\@ifundefined{frtnmib}%
  392.    {\global\font\frtnmib=cmmib10\@magscale2\global\font\elvmib=cmmib10\@halfmag
  393.            \global\font\egtmib=cmmib8%
  394.     \global\font\frtnbsy=cmbsy10\@magscale2\global\font\elvbsy=cmbsy10\@halfmag
  395.            \global\font\egtbsy=cmbsy8%
  396.     \global\font\frtneufb=eufb10\@magscale2\global\font\elveufb=eufb10\@halfmag
  397.            \global\font\egteufb=eufb8
  398.     \global\font\frtnlyb=lasyb10\@magscale2\relax
  399.     \@addfontinfo\@xivpt{\def\boldmath{\@prtct\@nomathbold
  400.       \everymath{\mit}\everydisplay{\mit}%
  401.       \textfont\@ne\frtnmib \scriptfont\@ne\elvmib \scriptscriptfont\@ne\egtmib
  402.       \textfont\tw@\frtnbsy \scriptfont\tw@\elvbsy \scriptscriptfont\tw@\egtbsy
  403.       \textfont\euffam\frtneufb \scriptfont\euffam\elveufb
  404.         \scriptscriptfont\euffam\egteufb
  405.       \textfont\lyfam\frtnlyb
  406.       \@prtct\@boldtrue}%
  407.     }%
  408.    }%
  409.    {}\@xivpt\boldmath
  410.  }%
  411. }
  412.  
  413. \def\undefine#1{\let#1\undefined}
  414. \def\newsymbol#1#2#3#4#5{\let\next@\relax
  415.  \ifnum#2=\@ne\let\next@\msafam@\else
  416.  \ifnum#2=\tw@\let\next@\msbfam@\fi\fi
  417.  \mathchardef#1="#3\next@#4#5}
  418. \def\hexnumber@#1{\ifcase#1 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or 8\or
  419.  9\or A\or B\or C\or D\or E\or F\fi}
  420. \edef\msafam@{\hexnumber@\msamfam}
  421. \mathchardef\dabar@"0\msafam@39
  422. \def\dashrightarrow{\mathrel{\dabar@\dabar@\mathchar"0\msafam@4B}}
  423. \def\dashleftarrow{\mathrel{\mathchar"0\msafam@4C\dabar@\dabar@}}
  424. \let\dasharrow\dashrightarrow
  425. \def\ulcorner{\delimiter"4\msafam@70\msafam@70 }
  426. \def\urcorner{\delimiter"5\msafam@71\msafam@71 }
  427. \def\llcorner{\delimiter"4\msafam@78\msafam@78 }
  428. \def\lrcorner{\delimiter"5\msafam@79\msafam@79 }
  429. \def\yen{{\mathhexbox@\msafam@55 }}
  430. \def\checkmark{{\mathhexbox\msafam@58 }}
  431. \def\circledR{{\mathhexbox\msafam@72 }}
  432. \def\maltese{{\mathhexbox\msafam@7A }}
  433. \edef\msbfam@{\hexnumber@\msbmfam}
  434. \def\widehat#1{\setbox\z@\hbox{$\m@th#1$}%
  435.  \ifdim\wd\z@>\tw@ em\mathaccent"0\msbfam@5B{#1}%
  436.  \else\mathaccent"0362{#1}\fi}
  437. \def\widetilde#1{\setbox\z@\hbox{$\m@th#1$}%
  438.  \ifdim\wd\z@>\tw@ em\mathaccent"0\msbfam@5D{#1}%
  439.  \else\mathaccent"0365{#1}\fi}
  440. \undefine\Box           \newsymbol\Box 1203
  441. \undefine\Diamond       \newsymbol\Diamond 1206
  442. \undefine\leadsto       \newsymbol\leadsto 1320
  443. \undefine\lhd           \newsymbol\lhd 1343
  444. \undefine\unlhd         \newsymbol\unlhd 1345
  445. \undefine\rhd           \newsymbol\rhd 1342
  446. \undefine\unrhd         \newsymbol\unrhd 1344
  447. \edef\Join{\mathrel{\mathchar"0\msbfam@ 6F\mkern-13.8mu%
  448.   \mathchar"0\msbfam@ 6E}}
  449.  
  450. \if@amssymbols %
  451.   \expandafter\def\csname amsfonts.sty\endcsname{}
  452.   \input amssymb.sty
  453.   \let\Finv\undefined    \newsymbol\Finv 2060
  454.   \let\Game\undefined    \newsymbol\Game 2061
  455.   \let\Bbbk\undefined    \newsymbol\Bbbk 207C
  456.   \let\diagup\undefined  \newsymbol\diagup 231E
  457.   \let\diagdow\undefined \newsymbol\diagdown 231F
  458. \fi
  459.  
  460. \endinput
  461.  
  462. %
  463. % ****** End of file osa12.sty ******
  464.